/* 全局样式
author:fengml
desc:
=======================*/
@charset "utf-8";
/*
*重置form表单样式
--------------------------*/
.fml-ui-forms{
  background:#fff;
  margin-bottom: 10px;
}
.el-form{
  .el-input{
    .el-input__inner{
      color:#333;
      font-size:$defaultFontSize
    }
    .error .el-input__inner {
      border: 1px solid $dangerColor ;
    }
  }
  .el-icon-plus {
    border: 1px solid $borderColor;
  }
  .el-input--small .el-input__inner {
    height: 32px ;
    padding:0 6px;
    border-color:$inputBorder;
  }
  .el-date-editor.el-input, .el-date-editor.el-input__inner{
    width:100%;
  }
  .el-form-item__content{
    flex:1;
    vertical-align: middle;
  }
  .el-form-item {
    margin-top: 6px ;
    margin-bottom: 6px ;
    display:flex !important;
    .el-form-item__label {
      padding-right: 8px ;
      color: $mainFontColor ;
      line-height: 32px ;
    }
  }
  .el-cascader__label{
    padding-left:8px !important
  }
  .el-select-dropdown__list {
    width: 100%;
  }
  .el-cascader{
    width:100%;
    display: block;

  }
  .el-textarea__inner{
    padding:5px 7px ;
    color:#333 ;
    font-size:14px ;
  }
  .el-textarea.is-disabled .el-textarea__inner{
    color:#c0c4cc;
  }
  .el-upload .el-upload-list--picture-card .el-upload-list__item,
  .el-upload .el-upload--picture-card {
    width: 100px ;
    height: 100px ;
    line-height: 100px ;
    i{
      font-size:18px ;
    }
    img{
      vertical-align: top ;
    }
  }
}
.fml-form-box{
  .fml-input-tree {
    position: relative;
    .el-input {
      .el-input__inner {
        cursor: pointer;
      }
    }
  }
  .fml-tree-box {
    position: absolute;
    background: #fff;
    padding-top:5px;
    z-index: 10;
    border: 1px solid $inputBorder;
    margin-top:-1px;
    border-radius: 4px;
    width: 100%;
    .filter-tree {
      padding: 0 5px;
    }
    .el-tree.filter-tree {
      min-height: 120px;
      padding-bottom: 60px;
      max-height: 300px;
      overflow: auto;
      .el-input__inner {
        cursor: text
      }
    }
  }
  .tree-footer {
    border-top: 1px solid $inputBorder;
    display: block;
    text-align: right;
    padding-right: 10px;
    position: absolute;
    bottom: 0;
    background: #fff;
    z-index: 2;
    width: 100%;
  }

  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
    background: #D1E5FB !important
  }
  .ui-forms {
    transition: 0.2s;
    background:rgba(255,255,255,1);
    box-shadow:0px 1px 3px 0px rgba(0, 0, 0, 0.13);
    border-radius:4px;
    margin-bottom: 10px;
    padding:0 10px;
  }
  .ui-form {
    width: 100%;
    border: 0;
    .el-cascader__label,
    .el-tag--info, .el-tag--info .el-tag__close{
      color:#333;
      font-size:14px;
    }
  }
  .fml-more-search {
    .search-active,
    i {
      color: #555
    }
  }
  .el-select {
    width: 100%;
  }

}


/**
*按钮组
------------------------------*/
.ui-datagrid-header {
  background:#fff;
  text-align: right;
  border-bottom: none;
  padding: 8px 9px;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  zoom: 1;
}
.el-button.el-button--plain.is-disabled,
.el-button.el-button--plain.is-disabled:focus,
.el-button.el-button--plain.is-disabled:hover,
.el-button.el-button--plain.is-disabled.colorDanger:hover,
.el-button.el-button--plain.is-disabled.colorDanger,
.el-button.el-button--plain.is-disabled.colorDanger:focus{
  color:#c0c4cc !important;
  border-color:#c0c4cc !important;
  background:none !important
}

.el-button.el-button--plain.colorWarning ,.colorWarning{
  color: $warningColor !important;
  border:1px solid $warningColor !important
}
.el-button.el-button--plain.colorWarning:hover,.el-button.el-button--plain.colorWarning:focus{
background:$warningColor !important;
color:#fff !important;
}


.el-button.cancel{
margin-left:30px !important;
}
.el-button.el-button--plain{
border:1px solid $plainBorder !important;
color:$mainColor !important
}
.el-button.el-button--plain:hover,.el-button.el-button--plain:focus{
background:$plainHover !important;
color:#fff !important;
}
.el-button.el-button--plain.colorDanger{
border:1px solid $plainDangerBorder !important;
color:$dangerColor !important
}
.el-button.el-button--plain.colorDanger:hover,.el-button.el-button--plain.colorDanger:focus{
background:$plainDangerHover !important;
color:#fff !important;
}
.el-button--small.el-button--default,
.el-button--default.el-button--small.is-round {
  padding: 7px 10px !important;
  font-size:14px !important;
}
.el-button--small.el-button--primary,
.el-button--primary.el-button--small.is-round {
  padding: 7px 10px !important;
  background: $btnMainColor !important;
  font-size:14px !important;
  box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.27);
}

.el-button--primary.is-plain {
  background: $borderBtnColor !important;
  color: $borderBtnFont !important;
}
.el-button--primary:not(.is-plain):hover,
.el-button--primary:not(.is-plain):active,
.el-button--primary:not(.is-plain):focus {
    background-color: $btnMainHover !important;
}

.el-button--primary.is-plain.is-disabled,
.el-button--primary.is-plain.is-disabled:active,
.el-button--primary.is-plain.is-disabled:focus,
.el-button--primary.is-plain.is-disabled:hover {
    color: #8cc5ff !important;
    background-color: #ecf5ff !important;
    border-color: #d9ecff !important;
}

.el-upload {
    text-align: center !important;
}

.el-button--mini, .el-button--mini.is-round{
  padding:6px 12px !important;
}
.el-upload-list.el-upload-list--picture {
    display: flex;
    flex-wrap: wrap;
    width: 500px;
}

.el-upload-list.el-upload-list--picture li {
    margin-right: 10px;
    width: 100px;
}
.el-upload-list__item.is-success{
  width:320px !important
}
/**
*查询
----------------------------------*/
.ui-forms-bodr {
  padding: 6px 0;
}
.ui-forms-footer {
  clear: both;
  border-top: 1px solid $borderColor;
  padding: 10px;
  text-align: right;
}


//公用
.is-danger {
  color: $dangerColor;
  font-size: $smallFontSize;
  position: absolute;
  line-height: 10px;
  display: block;
}
.colorSuccess {
  color: $successColor
}
.colorInfo {
  color: $infoColor
}
.colorDanger {
  color: $dangerColor !important;
}
/*
*重置表格样式
----------------------------*/
.fml-table-box{
  padding:$tablePadding;
  background:#fff;
  .el-table {
    color:#333;
    font-size:14px;
    thead{
      color: $tableTheadColor;
      font-size: $defaultFontSize;
    }
    th{
      background: $thColor ;
      text-align: center
    }
    .el-table__expanded-cell[class*=cell] {
      padding: 20px !important
    }
    .cell{
      max-height:68px;
      overflow: hidden;
    }
  }
  .el-table--striped .el-table__body tr.el-table__row--striped td{
    background-color:$tableStriped;
  }
  .el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
  .el-table__body tr.current-row>td,
  .el-table__body tr.hover-row.current-row>td,
  .el-table__body tr.hover-row.el-table__row--striped.current-row>td,
  .el-table__body tr.hover-row.el-table__row--striped>td,
  .el-table__body tr.hover-row>td {
    background-color:$thColor;
  }
  .el-pagination {
    background: #f3f3f3;
    .el-pagination__total{
      color:#666 ;
      font-weight: normal ;
      font-size:12px ;
    }
  }

}

/*
*弹窗
---------------------------------*/
.fml-dialog .fml-trHidden {
  display: block;
}
.el-breadcrumb {
  height: 40px;
  position: fixed;
  width: 100%;
  z-index: 4;
  line-height: 40px !important;
  padding-left: 20px;
  color: $tableTheadColor;
  background: $bgBodyColor;
}
.el-dialog__body {
  padding: 10px 20px !important;
}

.el-dialog{
border-radius: 10px !important;
}

.el-dialog__header {
  text-align: left;
  padding: 10px 20px 10px !important;
  background: $dialogColor;
  border-radius: 10px 10px 0 0 !important;
}
.el-dialog__footer{
text-align: center !important;
}

.el-dialog__title {
  color: #fff !important;
  font-size: 14px !important;
}

.el-dialog__headerbtn {
  top: 15px !important;
}

.el-dialog__headerbtn .el-dialog__close {
  color: #fff !important;
}


/*
*左侧导航菜单
--------------------------------*/
.fml-nav-menu .el-carousel__container{
  height: 450px !important
}
.fml-nav-bar .el-menu--horizontal>.el-submenu .el-submenu__title,
.fml-nav-bar  .el-menu--horizontal>.el-menu-item{
  height:45px;
  line-height: 45px;
  color:#DBE8FF;
  font-size:16px;
  transition: all 0.2s ease-in;
}
.fml-nav-bar {
  .el-menu.el-menu--horizontal{
    width:100%;
    background:rgba(17,37,103,0.46);
    border:1px solid rgba(24, 51, 143, 1);
    box-shadow:inset 0px 0px 15px 0px rgba(77,147,253,0.72);
    padding-left:120px;

  }
  .el-submenu__icon-arrow.el-icon-arrow-down{
    display: none;
  }
  .el-menu--horizontal>.el-menu-item.is-active{
    border:none !important;
    color:#fff !important;
  }
  .el-dropdown-menu__item--divided:before,.el-menu,.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus,.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover,.el-menu--horizontal>.el-submenu .el-submenu__title:hover {
    background-color: transparent;
    color:#fff;
    border-bottom: 6px solid transparent;
    border-image: url(../../static/nav_hover.png) 10 10 stretch
  }
  .el-menu--horizontal>.el-submenu.is-active .el-submenu__title{
    color:#fff;
    border-bottom: 6px solid transparent;
    border-image: url(../../static/nav_hover.png) 10 10 stretch
  }
}
.el-menu--horizontal{
  .el-menu--collapse .el-menu .el-submenu, .el-menu--popup{
    min-width: 120px !important;
    background:#1B59E7 !important;
    border:1px solid rgba(60, 126, 230, 1) !important;
    opacity: 0.9;
    border-radius:5px;
  }
  .el-menu .el-menu-item, .el-menu .el-submenu__title{
    height: 27px !important;
    line-height: 27px !important;
    color:#EBF5FF !important;
    font-size:14px !important;
    background: #1B59E7 !important;
    margin:0 5px
  }
  .el-menu--popup .el-menu-item:hover{
    border-radius: 14px;
    background:#0623B2 !important
  }
}

.fml-nav-show{
  .el-dialog__header{
    background:#0757EA
  }
}
/*头部
--------------------------------*/
.el-header.borderb {
  width: 100%;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 10;
  min-width: 1024px;
}

.fml-header-left {
  height: 56px;
  position: absolute;
}

.fml-header-right {
  right: 20px;
  height: 56px;
  line-height: 56px;
  position: absolute;
}

.fml-main {
  padding: 0;
  width: 100%;
  .fml-el-main {
      padding: 0;
      position: absolute;
      top: 61px;
      bottom: 0;
      right: 0;
      transition:left .28s;
      background: $bgBodyColor;
  }
}



/*
--------------------------------*/

body{
  overflow-y: auto !important
}
/* 此样式可删除，此处只是layout布局组件中为了显示 */

.fml-layout {
    border-radius: 4px;
    padding: 40px 7px 7px 7px;
    .fml-body {
        border-radius: 4px;
    }
}

.fml-container {
    .padt50 {
        padding-top: 50px;
    }
    .el-header:not(.flex),
    .el-footer {
        background-color: #b3c0d1;
        color: #333;
        text-align: center;
        line-height: 60px;
    }
    .el-aside {
        background-color: #d3dce6;
        color: #333;
        text-align: center;
        line-height: 200px;
    }
    .el-container .el-main {
        background-color: #e9eef3;
        color: #333;
        text-align: center;
        line-height: 160px;
        .el-alert {
            line-height: initial;
        }
    }
    body.el-container {
        margin-bottom: 40px;
    }
    .el-container:nth-child(5) .el-aside,
    .el-container:nth-child(6) .el-aside {
        line-height: 260px;
    }
    .el-container:nth-child(7) .el-aside {
        line-height: 320px;
    }
}


/* 覆盖样式 */

.fml-entry-info {
    .el-input-group {
        width: 600px !important;
    }
    .el-input--small .el-input__inner {
        height: 42px !important;
        line-height: 42px !important;
    }
    .el-button.el-button--primary.el-button--small {
        height: 42px !important;
    }
}
.fml-declare {
    .el-dropdown-menu__item {
        line-height: 30px !important;
        color: #184474 !important;
    }
    .el-badge__content {
        width: 54px !important;
        border-radius: 9px !important;
        background-color: #2965BE !important
    }
}
.basic-ul{
  .el-badge__content{
    border:none;
    background:#D52836;
    font-size:15px;
    padding: 0 8px;
    height: 25px;
    line-height: 25px;
  }
}

@media screen and (min-width: 1920px){
  .fml-nav-bar {
    .el-menu.el-menu--horizontal{
      padding-left:320px
    }
}
}
.animated {
  -webkit-animation-duration:1s;
  -webkit-animation-fill-mode:both;
  animation-duration:1s;
  animation-fill-mode:both
}
@-webkit-keyframes fadeInLeft {
  0% {
      -webkit-transform:translate3d(-100%, 0, 0);
      opacity:0;
      transform:translate3d(-100%, 0, 0)
  }
  to {
      -webkit-transform:translateZ(0);
      opacity:1;
      transform:translateZ(0)
  }
}

@keyframes fadeInLeft {
  0% {
      -webkit-transform:translate3d(-100%, 0, 0);
      opacity:0;
      transform:translate3d(-100%, 0, 0)
  }
  to {
      -webkit-transform:translateZ(0);
      opacity:1;
      transform:translateZ(0)
  }
}
.fadeInLeft {
  -webkit-animation-name:fadeInLeft;
  animation-name:fadeInLeft
}
@-webkit-keyframes fadeInDown {
  0% {
      -webkit-transform:translate3d(0, -100%, 0);
      opacity:0;
      transform:translate3d(0, -100%, 0)
  }
  to {
      -webkit-transform:translateZ(0);
      opacity:1;
      transform:translateZ(0)
  }
}
@keyframes fadeInDown {
  0% {
      -webkit-transform:translate3d(0, -100%, 0);
      opacity:0;
      transform:translate3d(0, -100%, 0)
  }
  to {
      -webkit-transform:translateZ(0);
      opacity:1;
      transform:translateZ(0)
  }
}
.fadeInDown {
  -webkit-animation-name:fadeInDown;
  animation-name:fadeInDown
}
@-webkit-keyframes fadeInRight {
  0% {
      -webkit-transform:translate3d(100%, 0, 0);
      opacity:0;
      transform:translate3d(100%, 0, 0)
  }
  to {
      -webkit-transform:translateZ(0);
      opacity:1;
      transform:translateZ(0)
  }
}
@keyframes fadeInRight {
  0% {
      -webkit-transform:translate3d(100%, 0, 0);
      opacity:0;
      transform:translate3d(100%, 0, 0)
  }
  to {
      -webkit-transform:translateZ(0);
      opacity:1;
      transform:translateZ(0)
  }
}
.fadeInRight {
  -webkit-animation-name:fadeInRight;
  animation-name:fadeInRight
}
